<?php
/* @var $this MessageController */
/* @var $data Message */
?>

<div class="jumbotron top-space">
    <!--
	<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
	<br />
    -->

	<b><?php echo CHtml::encode($data->getAttributeLabel('书名')); ?>:</b>
    <?php echo CHtml::link(CHtml::encode($data->book->bookname), array('/book/view', 'id'=>$data->bookid)); ?>
	<!-- <?php echo CHtml::encode($data->book->bookname); ?> -->
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('评论内容')); ?>:</b>
    <?php echo CHtml::link($data->content, array('/message/view', 'id'=>$data->id)); ?>
	<!-- <?php echo $data->content; ?> -->
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('评论者')); ?>:</b>
	<?php echo CHtml::encode($data->user->username); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('时间')); ?>:</b>
	<?php echo CHtml::encode($data->time); ?>
	<br />


</div>
